package com.applet.common.utils;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
//扫描并且获取此文件的配置,并且传给对应的属性中
@ConfigurationProperties(prefix = "applet.aliyahs")
@Data
public class AliOssProperties {
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
}
